home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update16.zoo / README < prev   
Encoding:
Text File  |  1992-03-07  |  2.2 KB  |  97 lines

  1. Here is update16 featureing GCC-2.0:
  2.  
  3.     - as usual you can build either a native or a cross (unix hosted)
  4.     compiler, using an existing native or cross compiler.
  5.     (i have never actually built gcc using a native gcc compiler
  6.      but others have, so it is possible).
  7.  
  8.     - before you can build gcc/g++ 2.0, you will need to apply
  9.     the library and include updates in lib/ and include/ in this
  10.     distribution, compile the library again using your existing
  11.     gcc-1.40, to produce a library at Patchlevel 76.
  12.  
  13.     - now you can go thru the procedure to build gcc-2.0 and g++-2.0.
  14.  
  15.     - once you have built gcc-2.0, you can re-compile the library if
  16.     you want (maybe even try the new -O2 and other optimizations).
  17.  
  18.     - before you can use the new g++ part of the compiler to build
  19.     C++ applications, you will need to apply the patches in g++-include/
  20.     and libg++/, to bring it up to Patchlevel 5, and re-compile
  21.     everything in libg++ with gcc-2.0. Failing to do this will
  22.     result in link errors.
  23.  
  24.     - Before you can use gcc to compile C++ programs you will
  25.     need to send the environment variable GXXINC to point to
  26.     BOTH where g++-include/ resides, followed by a path to
  27.     where the normal C library include files reside. In previous
  28.     versions, $GXXINC was followed by looking up $GNUINC/$GNULIB
  29.     now it is not. So typically you would set: (comma seperated paths)
  30.  
  31.         setenv GXXINC "e:\g++-inc,e:\include"
  32.         if the C++ include files were in e:\g++-inc and the C libarary
  33.     include files in e:\include
  34.  
  35.     - Note that there is no g++.ttp any more, gcc.ttp will invoke
  36.     the approriate parts by itself.
  37.  
  38.     - Also note: when you are compiling a C++ application, you
  39.     will always need to specify -lg++ to gcc: for example
  40.  
  41.         gcc -o hello hello.cc -lg++
  42.  
  43.  
  44. other files:
  45.  
  46. FP_WARNING
  47.     a warning from michael ritzert about fp register usage.
  48.  
  49. curses:
  50. diffs
  51.  
  52. g++-include:
  53. diffh
  54.  
  55. gcc-2.0:
  56. GMakefile
  57. GMakefile.hp
  58. GMakefile.st
  59. GMakefile.st.hp
  60. MAKE_LINKS
  61. Makefile
  62. Makefile.hp
  63. Makefile.st
  64. Makefile.st.hp
  65. PatchLev.h
  66. README.TOS
  67. astab.h
  68. gcc-20.diff
  69. gcc.1
  70. gcc.doc
  71. tm-atari.h
  72. xm-atari.h
  73.  
  74. include:
  75. diffh
  76.  
  77. lib:
  78. bcopy.s
  79. diffc
  80. memcpy.s
  81.  
  82. libg++:
  83. diffc
  84.  
  85. libg++-test:
  86. diffs
  87.  
  88. pml:
  89. diffs
  90.  
  91. enjoy,
  92. --
  93. bang:   uunet!cadence!bammi            jwahar r. bammi
  94. domain: bammi@cadence.com
  95. GEnie:    J.Bammi
  96. CIS:    71515,155
  97.